<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>javascript 阶段</title>
    <style>
        div {
            width: 100px;
            height: 100px;
            border: 1px solid #ccc;
        }
    </style>
</head>
<body>

    <div class="box">1</div>


    <script src="./common/util.js"></script>
    <script>

        // 1.0 调用_css方法设置元素的样式
        // _css("div","width",200);
        // _css("div","height",200);
        // _css("div","backgroundColor","red");

        // 2.0 调用_css方法设置元素的样式
        _css(".box",{
            width: 200,
            height: 200,
            backgroundColor: "deepskyblue"
        })

    </script>
</body>
</html>